home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
TOPDOS.ARJ
/
TOPDOS.HLP
< prev
next >
Wrap
Text File
|
1992-04-07
|
66KB
|
1,690 lines
*HELP
╔═══════════════════════════════════════════════════════════════════════════╗
║ TOPDOS COMMAND LINE EDITING KEYS ║
╠═════════════════════════════════════╦═════════════════════════════════════╣
║ ^A / Home Go to start of line ║ ALT-- (grey) Disable TopDOS ║
║ ^B / Left Back one character ║ + (grey) Re-enable TopDOS ║
║ ^D / Del Delete one character ║ ^Home ^End Deinstall TopDOS ║
║ ^E / End Go to end of line ║ Ins Toggle insert mode ║
║ ^F / Right Forward one character ║ ALT-B /^Left Back one word ║
║ ^H / Bkspace Delete previous char ║ ALT-C Copy template (DOS F3)║
║ ^I / Tab Complete filename ║ ALT-D Kill next word ║
║ ^K Kill to end of line ║ ALT-F /^Right Forward one word ║
║ ^M / Return Submit current line ║ ALT-H Kill previous word ║
║ ^N / Down Recall next command ║ Esc Kill entire line ║
║ ^P / Up Recall prev command ║ ALT-P Set alternate buffer ║
║ ^Q Quote key to DOS ║ ALT-Y Paste alternate buffer║
║ ^R Review command history║ ALT-( Open macro definition ║
║ ^T Transpose characters ║ ALT-) End macro definition ║
║ ^U Kill to start of line ║ ALT-= Execute keybd macro ║
║ ^V Display macros/aliases║ Alt-Fn Bind Fn to macro ║
║ ^W Kill region of text ║ Fn Execute Fn macro ║
║ ^X Exchange mark/cursor ║ ALT-< Load macro file ║
║ ^Y Paste kill buffer ║ ALT-> Save macro file ║
╚═════════════════════════════════════╩═════════════════════════════════════╝
*ALIAS
PLEASE REGISTER TopDOS!
ALIAS Command Abbreviation
Purpose: Create a command abbreviation, custom command or series of commands.
Format: alias := [command][&command]...[&%%alias]
Options:
alias -- An alphanumeric command name
&command -- Any valid DOS or TopDOS command
&%%alias -- Any valid TopDOS alias
%$p -- Variable which returns the current directory path
%$n -- Variable which returns current drive letter
%var% -- Returns value of environment variable ('var')
%0 - %9 -- Replaceable parameters as in BATch files
Example: COPY := COPY /p
Meaning: Redefine the COPY command to default to using the /P option
Notes: Aliases are one of the most powerful features of TopDOS. For many
purposes, they can replace BATch files. Here are a few uses:
1) A simple abbreviation for any DOS or TopDOS command
(Ex. CHK:=CHKDSK)
2) Make a command default to using specific options
(Ex. DIR:=DIR /f)
3) Create a custom command
(Ex. BACKUPTODAY:=COPY /a-1 /f /m /p *.* a:)
Version: TopDOS
-------------------------------------------------------------------------
*APPEND
PLEASE REGISTER TopDOS!
APPEND Path Search
Purpose: Specifies a path for DOS to use in searching for non-executable files
outside of the current directory. This is the equivalent of the PATH
command for files with extensions other than .COM, .EXE, or .BAT.
Format: APPEND d:path[;[d:]path...] -or-
[d:][path] APPEND [/x][/e]
...after APPEND has been loaded once...
APPEND d:path[;[d:]path...] -or-
APPEND [;]
Options:
; -- Used to separate paths or reset list of paths to null
/X -- Used to process SEARCH FIRST, FIND FIRST and EXEC functions
/E -- Used to keep the APPEND paths in the DOS environment
Example: PATH c:\123
APPEND c:\123 /e
Meaning: Creates a special path for both programs and files that allows 1-2-3
to be run from any directory.
Version: DOS 3.3 and higher.
-------------------------------------------------------------------------------
*ASSIGN
PLEASE REGISTER TopDOS!
ASSIGN Drive Change
Purpose: Causes DOS to reassign all disk I/O requests from one drive to another
drive.
Format: ASSIGN [x[=]y[...]]
Options:
none -- Resets all re-routing assignments to normal operation
x=y -- Re-routes requests from drive x: to drive y:
Example: ASSIGN a=c b=c
Meaning: Instruct DOS to use drive C instead of drives A or B
Version: DOS 2.0 and higher.
-------------------------------------------------------------------------------
*ATTRIB
PLEASE REGISTER TopDOS!
ATTRIB Set File Attributes
Purpose: Set the read-only or archive file attributes.
Format: ATTRIB [+R | -R][+A | -A] [d:][path]filename[.ext][/S]
Options:
+R -- Set the read attribute of the file(s) to read-only
-R -- Remove the read-only attribute of the file(s)
+A -- Set the archive attribute of the file(s)
-A -- Reset (turn-off) the archive attribute of the file(s)
/S -- Process all files in the specified directory and its subdirs
Example: ATTRIB +r *.com
Meaning: Set the read attribute for all .COM files to read-only
Version: DOS 3.0 and higher.
-------------------------------------------------------------------------------
*AUTOEXEC
═══════════════════ Below is a sample AUTOEXEC.BAT file: ═════════════════════
DATE
TIME
rem DATE and TIME may _not_ be needed if your system has an internal clock
rem or you may want to replace them with the name of your own clock program!
PATH=C:\TOPDOS
rem You _should_ set your path to include the location of your TopDOS program
rem files, such as TOPDOS.COM, TREECOPY.COM, CLUSTER.COM, and SETATTR.COM.
PROMPT $p$g
rem This sample PROMPT command will cause your DOS prompt to always display
rem the letter of the current drive and the name of the current subdirectory!
SET THELPATH=C:\TOPDOS
rem You MUST have the preceding command in your AUTOEXEC.BAT in order to have
rem access to the TopDOS Help System. THELPATH should be the path to the
rem subdirectory where the TOPDOS.IDX and TOPDOS.HLP files are located!
VERIFY ON
rem This turns the verification feature on which causes DOS/TopDOS to double
rem check each file that is being Copied or Moved.
TOPDOS TOPDOS.KEY
rem This runs TopDOS and loads in a set of Function Key macros and Aliases.
rem If you don't want to load macros, omit the 'TOPDOS.KEY' shown above.
rem Finally, insert any commands or programs that you would like to be
rem automatically executed every time you start up or "re-boot".
-------------------------------------------------------------------------------
*BACKUP
PLEASE REGISTER TopDOS!
BACKUP Files
Purpose: Automatically backs up files. One or more files may be specified.
The source and target drive specifiers must be different.
Format: BACKUP d:[path][filename[.ext]] d:
[/S][/M][/A][/D:mm-dd-yy][/T:hh:mm:ss][/F]
[/L[:[d:][path]filename[.ext]]]
Options:
/S -- Back up subdirectory files in addition to the other files
/M -- Back up files that have been modified since last BACKUP
/A -- Add files to be backed up to the files already present on
backup disk
/D -- Back up files that have been modified on or after specified date
/T -- Back up files that have been modified on or after specified time
/F -- Format target disk if it is not already formatted
/L -- Create a log file. Default name of BACKUP.LOG
Example: BACKUP c:\wordstar\*.* a:/m
Meaning: Back up all files in C:\WORDSTAR which need to be backed up to A:
Version: DOS 2.0 and higher.
-------------------------------------------------------------------------------
*BREAK
PLEASE REGISTER TopDOS!
BREAK Control-Break Check
Purpose: Enables/disables checking for a Control-Break whenever DOS responds to
a program request to perform some function. BREAK OFF effectively
prevents the user from interrupting the operation of the program.
Format: BREAK [on | off]
Options:
none -- Displays current status of BREAK command
ON -- Allows you to "break-out" of a program
OFF -- Disables check by DOS for Control-Break
Example: BREAK ON
Meaning: Allows you to interrupt program execution.
Version: DOS 2.0 and higher.
-------------------------------------------------------------------------------
*CALL
PLEASE REGISTER TopDOS!
CALL Another Batch File
Purpose: Allows a batch file to call another batch file as a subroutine.
After execution of the "called" BATch file is completed, execution
continues within the parent BATch file.
Format: CALL [d:][path]filename
Options: (none)
Example: call clsblue
Meaning: Calls a batch file named CLSBLUE.BAT which clears the screen to blue.
Execution continues after the call statement in the BATch file.
Version: DOS 3.3 and higher.
-------------------------------------------------------------------------------
*CD
PLEASE REGISTER TopDOS!
CD Change Directory
Purpose: Changes the current directory of the specified or default drive
Format: CD [d:][path]
Options:
none -- Displays the current directory path of the default drive
Example: CD \topdos
Meaning: Make the \TOPDOS directory on the default drive the current directory
Version: DOS 2.0 and higher.
-------------------------------------------------------------------------------
*CHDIR
PLEASE REGISTER TopDOS!
CHDIR Change Directory
Purpose: Changes the current directory of the specified or default drive
Format: CHDIR [d:][path]
Options: none -- Displays the current directory path of the default drive
Example: CHDIR \topdos
Meaning: Make the \TOPDOS directory on the default drive the current directory
Version: DOS 2.0 and higher.
-------------------------------------------------------------------------------
*CHKDSK
PLEASE REGISTER TopDOS!
CHKDSK Check Disk
Purpose: Checks the specified disk and reports status. Any disk errors
are listed and memory status is also reported. Lost clusters may
be recovered into files for examination, recovery or deletion. This
command should be used periodically to insure disk and file integrity.
Format: CHKDSK [d:][path][filename[.ext]][/F][/V]
Options:
/F -- Causes CHKDSK to fix errors that are found
/V -- Display all files and their paths on the drive
Example: CHKDSK
Meaning: Examine current drive without correcting any errors found
Version: DOS 2.0 and higher.
-------------------------------------------------------------------------------
*CLEAR
PLEASE REGISTER TopDOS!
CLEAR Aliases
Purpose: Clear alias table from memory (RAM)
Format: CLEAR [options]
Options: /A -- Clear alias table
Example: CLEAR /a
Meaning: Clear all aliases from RAM
Version: TopDOS
-------------------------------------------------------------------------------
*CLS
PLEASE REGISTER TopDOS!
CLS Clear Screen
Purpose: Clears the display screen, installs auto-screen blanking, or
displays the current status. Auto-screen blanking causes the
display to be cleared after the specified period of inactivity.
This prevents static displays from being "burned-in" and
damaging your screen. To view the display, press any key.
Format: CLS [options] xx
Options:
/A -- After xx minutes of keyboard inactivity, blank the display
-or- if no xx is specified, display the current setting
xx -- Number of minutes (0 shuts off this feature, 1-31 sets time)
Example: CLS /a 3
Meaning: If a key is not pressed for 3 minutes, blank the screen temporarily
Version: TopDOS
-------------------------------------------------------------------------------
*CLUSTER
AVAILABLE IN REGISTERED VERSION ONLY!
File Name at CLUSTER
Purpose: Find the file on the current volume containing cluster nnnn.
Format: CLUSTER nnnn
Options: (none)
Example: CLUSTER 223
Meaning: Find which file contains cluster 223 on current disk
Version: TopDOS
-------------------------------------------------------------------------------
*COMMAND
PLEASE REGISTER TopDOS!
Invoke COMMAND Processor
Purpose: Invoke a secondary command processor. This command allows a new
command processor to become active while the current command
processor remains suspended.
Format: COMMAND [d:][path][/P][/C string] [/E: xxxxx]
Options:
none -- Loads new command processor using previous one's environment
/P -- Causes the copy of the new command processor to be permanent
/C -- Allows you to pass a 'string' and automatically return back
string -- A command you want to pass to command processor
/E -- Specify the size of the environment
xxxxx -- Size of environment from 160 to 32768
Example: COMMAND /c dir b:
Meaning: Load a secondary processor, display directory of drive b:, then
return back to the previous command processor
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*COMP
PLEASE REGISTER TopDOS!
COMP Compare Files
Purpose: Compares the contents of files. The source set of files is compared
to the target set of specified files.
Format: COMP [d:][path][filename[.ext]] [d:][path][filename[.ext]]
Options: (none)
Example: COMP oldfile.com newfile.com
Meaning: Compare and report differences between different versions of files
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*CONFIG
PLEASE REGISTER TopDOS!
CONFIG.SYS Configure System
Below is a commented sample CONFIG.SYS which shows proper implementation:
BUFFERS = 20/40 (20 if you are using a PC-class computer, 40 for an AT-class)
FILES = 20
DEVICE = ANSI.SYS (optional and might conflict with TopDOS Scroll-back feature)
DEVICE = MOUSE.SYS (optional and used to install Mouse driver)
-------------------------------------------------------------------------------
*COPY
PLEASE REGISTER TopDOS!
COPY Copy Files
Purpose: Copy specified file(s) to given destination. Files may be copied
with or without a name change, and files may be combined before being
copied to the destination file. Use this command to make backups or
copies of files leaving the original copy of the file intact.
Format: COPY [options] [d:][path][filename][.ext] [d:][path][filename][.ext]
Options:
/A -- Files created after given time,date
/B -- Files created before given time,date
/F -- Only files which need to be backed up
/H -- Hidden and System files included
/M -- Mark copied files as backed up
/P -- Pause when disk full
/R -- Replace duplicates on Query basis
/U -- Update duplicates (Source must be newer than Target)
/Q -- Query on a file by file basis
/D -- Sort query list in descending order
/E -- Sort query list by extension
/S -- Sort query list by size
/T -- Sort query list by time
/V -- Sort query list by natural (DOS) order
+ -- Combine files before copying to destination
Example: COPY /q *.DAT A:
Meaning: Copies all *.DAT files to drive A on a query basis
Version: TopDOS
-------------------------------------------------------------------------------
*CTTY
PLEASE REGISTER TopDOS!
CTTY Changes Console
Purpose: Allows the standard input and output device (console) to be attached
to an auxiliary device. Also restores the keyboard and screen as
the standard input and output devices.
Format: CTTY device
Options:
device -- Define AUX, COM1, COM2, COM3, COM4, or CON as the device to
use as the primary console. Default is CON
Example: CTTY COM1
Meaning: Tells DOS to expect input from and send output to the COM1 device
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*DATE
PLEASE REGISTER TopDOS!
DATE Setting
Purpose: Enter or change the system date.
Format: DATE [mm-dd-yy] | [dd-mm-yy] | [yy-mm-dd]
Options:
mm -- Specify the month (1 through 12)
dd -- Specify the day (1 through 31)
yy -- Specify the year (80 through 99 -or- 1980 through 1999)
Example: DATE
Meaning: Enter the date for the system as prompted
Version: ALL
-------------------------------------------------------------------------------
*DEL
PLEASE REGISTER TopDOS!
DEL Delete Files
Purpose: Deletes file(s) specified (filename must be entered). Use this
command to remove unwanted files from your disks. More than one
filename may be specified on the same command line.
Format: DEL [options] [d:][path][filename][.ext]...
ERASE [options] [d:][path][filename][.ext]...
Options:
/A -- Files created after given time,date
/B -- Files created before given time,date
/H -- Hidden and System files included
/L -- List filenames being deleted
/Q -- Query on a file by file basis (Yes, No, Quit, Go)
/D -- Sort query list in descending order
/E -- Sort query list by extension
/S -- Sort query list by size
/T -- Sort query list by time
/V -- Sort query list by natural (DOS) order
Example: DEL *.bak junk.txt
Meaning: Deletes JUNK.TXT and files with .BAK extension
Version: TopDOS
-------------------------------------------------------------------------------
*DIR
PLEASE REGISTER TopDOS!
DIR Directory Listing
Purpose: Lists directory entries (defaults to current directory).
Format: DIR [options] [d:][path][filename][.ext]...
Options:
/A -- Files created after given time,date
/B -- Files created before given time,date
/H -- Hidden and System files included
/M -- Only files which are backed up
/U -- Only files which need to be backed up
/P -- Pause after each page
/Q -- Quick display, filenames only
/W -- Wide display, filenames only
/D -- Sort list in descending order
/E -- Sort list by extension
/S -- Sort list by size
/T -- Sort list by time of creation
/V -- Sort list by natural (DOS) order
/F -- Files only, no subdirectories
/O -- Only subdirectories, no files
/1 -- Separate files from subdirectories
Example: DIR /a 1-1 *.wks /s
Meaning: List all the Lotus 1-2-3 files created since Jan 1, sorted by size
Version: TopDOS
-------------------------------------------------------------------------------
*DISKCOMP
PLEASE REGISTER TopDOS!
DISKCOMP Disk Comparison
Purpose: Compare the contents of source diskette to the target diskette.
Format: DISKCOMP [d: [d:]] [/1] [/8]
Options:
/1 -- Compare only the first side of the disks
/8 -- Compare only 8 sectors per track
Example: DISKCOMP a: b:
Meaning: Compare the disk in drive a: to the disk in drive b:
Version: ALL
-------------------------------------------------------------------------------
*DISKCOPY
PLEASE REGISTER TopDOS!
DISKCOPY Diskette Copier
Purpose: Duplicates the source diskette on the diskette in the target drive.
Target disk is formatted if necessary
Format: DISKCOPY [d: [d:]][/1]
Options:
/1 -- Copy only the first side of the source diskette
Example: DISKCOPY a: b:
Meaning: Duplicate the contents of the disk in drive a: on disk in drive b:
Version: ALL
-------------------------------------------------------------------------------
*ECHO
PLEASE REGISTER TopDOS!
ECHO Display of Commands
Purpose: Enables/disable the display of DOS commands as they are executed
from a BATch file. Does not affect the display of command or
program level output.
Format: ECHO [on | off | Message]
Options:
none -- Displays current status of ECHO command
ON -- Displays all commands as they are executed
OFF -- Suppresses commands from being displayed as they are executed
Message -- Forces display of Message regardless of ECHO status
Example: ECHO OFF
Meaning: Disables display of subsequent commands in batch files.
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*EDIT
PLEASE REGISTER TopDOS!
EDIT Display and/or Change File
Purpose: Call the TopDOS full screen editor. The first filename specified is
the file to be edited. Optionally, a character translation table
may also be specified. This table defines what character conversions
will be made as the specified file is brought into the editor, and
allows data files from many different word processors to easily
be converted to ASCII format for viewing and editing.
Format: EDIT [d:][path][filename][.ext] [d:][path][filename][.ext]
Options:
/H -- Edit a Hidden file
Example: EDIT topdos.key
Meaning: Edit a TopDOS macro/alias file
Version: TopDOS
-------------------------------------------------------------------------------
*EDLIN
PLEASE REGISTER TopDOS!
EDLIN File Editor
Purpose: Edit files using the DOS line editor.
Format: EDLIN [d:][path]filename[.ext][/B]
Options:
/B -- Ignore Ctrl-Z's characters as end-of-file marks
Example: EDLIN readme.txt
Meaning: Edit the file README.TXT in a line editor
Note: See EDIT command
Version: ALL
-------------------------------------------------------------------------------
*EGA
PLEASE REGISTER TopDOS!
EGA Display Mode
Purpose: Switch between 25 line and 43 line display mode on EGA Systems.
Causes DOS, the TopDOS Editor, and the TREE command to display 43
lines of data.
Format: EGA [25 | 43]
Options:
25 -- Switches into 80 columns by 25 lines display mode
43 -- Switches into 80 columns by 43 lines display mode (EGA only)
Example: EGA 43
Meaning: Display with 43 lines. Changes DOS, EDIT, and TREE display.
Version: TopDOS
-------------------------------------------------------------------------------
*FASTOPEN
PLEASE REGISTER TopDOS!
FASTOPEN Quick File Access
Purpose: Causes DOS to store in memory the location of directories and files
most recently opened. Searching memory for file and directory
information is much faster (after this command has been executed).
DOS normally searches the disk for this information, a much slower
operation. See your DOS manual for the optimum number of entries
for this memory list.
Format: FASTOPEN d:[=nnn]...
Options:
nnn -- Number of file entries to remember (10 through 999)
Example: FASTOPEN c:
Meaning: Remember a default of 34 file entries for drive c:
Version: DOS 3.3 and higher.
-------------------------------------------------------------------------------
*FDISK
PLEASE REGISTER TopDOS!
FDISK Hard Disk Partitioning
Purpose: Creates DOS and non-DOS partitions on a fixed disk. Later versions
also allow creation of extended DOS partitions and logical disks on
large fixed disks.
Format: FDISK
Options: (none)
Example: FDISK
Meaning: Allows you to manage the creation and deletion of disk partitions.
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*FIND
PLEASE REGISTER TopDOS!
FIND Text
Purpose: A DOS filter which copies all lines containing the specified "string"
from the specified file(s) to the standard output device.
Format: FIND [/V][/C][/N] "string" [[d:][path]filename[.ext]...]
Options:
/V -- Display all lines NOT containing the "string"
/C -- Display a count of the number of lines containing "string"
/N -- Display the relative line number of each matching line
"string" -- The specific string to be found. Note FIND is case-sensitive
Example: FIND "TopDOS" COMPANY.LST
Meaning: Find occurrences of "TopDOS" in the file named COMPANY.LST and
display them on the screen (standard output device).
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*FOR
PLEASE REGISTER TopDOS!
FOR
Purpose: Allows repetitive execution of DOS commands from the command line or
from within BATch files and Aliases.
Format: FOR %%variable IN (set) DO command
Options: (none)
Example: FOR %%a IN (a A b B c C d D) DO %%a
Meaning: Run the batch file selected by value represented by %%a
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*FORMAT
PLEASE REGISTER TopDOS!
FORMAT Disk Setup
Purpose: High level format to initialize the disk in the specified drive
to be compatible to DOS. The disk is also analyzed for bad sectors
and the directory and file allocation table are initialized.
Optionally, the operating system files are copied to the specified
disk. Please note that all data on a disk will be lost when the
disk is formatted.
Format: FORMAT d:[/S][/1][/8][/V][/B][/4][/N:xx][/T:yy]
Options:
/S -- Copy the operating system files to the specified disk
/1 -- Format for single-sided use (5.25" drives only)
/8 -- Format for 8 sectors per track (5.25" drives only)
/V -- Identify the disk with an 11 character volume label
/B -- Format as with /8 but create space for operating system files
/4 -- Format to low-density size on a high density drive
/N -- Specify the number of sectors per track to format
/T -- Specify the number of tracks to format
Example: FORMAT a: /s/v
Meaning: Format the disk in drive a: with operating system and volume label
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*GOTO
PLEASE REGISTER TopDOS!
GOTO Line After Label
Purpose: Transfers control in a BATch file to the line following the one
containing the specified label. A label is defined by a line
beginning with a colon, and followed by a character string..
Format: GOTO [:]label
Options: (none)
Example: GOTO quit
Meaning: Continues executing batch file at line after :quit label
Note: See IF command
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*GRAFTABL
PLEASE REGISTER TopDOS!
GRAFTABL Foreign Language Sets
Purpose: Enables CGA display of ASCII characters 128 through 255 in graphics
mode. Loads additional character data into RAM for definition of
national language characters.
Format: GRAFTABL [437 | 860 | 863 | 865 | /STATUS]
Options:
437 -- United States (default value)
860 -- Portugal
863 -- Canada (Fr.)
865 -- Norway and Denmark
/STATUS -- Displays the number of the selected country code page
Example: GRAFTABL 863
Meaning: Load in the character table for Canada (ASCII 128 through 255)
Version: DOS 3.3 and higher.
-------------------------------------------------------------------------------
*GRAPHICS
PLEASE REGISTER TopDOS!
GRAPHICS Print Screen
Purpose: Enables screen printing while in graphics display mode.
Format: GRAPHICS [printer][/R][/B][/LCD]
Options:
printer:
COLOR1 -- IBM Personal Computer Color Printer with black ribbon
COLOR4 -- IBM Personal Computer Color Printer with RGB ribbon
COLOR8 -- IBM Personal Computer Color Printer with CMY ribbon
COMPACT -- IBM Personal Computer Compact Printer
GRAPHICS -- IBM Personal Graphics Printer -or- IBM Proprinter
THERMAL -- IBM PC Convertible Printer
/R -- Print black and white as seen on the monitor (default is reverse)
/B -- Print the background color (only with COLOR4 or COLOR8 printers)
/LCD -- Print image exactly as displayed on IBM PC Convertible LCD
Example: GRAPHICS
Meaning: Loads graphics display printing support - use Shift-PrtSc to print
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*helpsys
═══════════════════════════ TOPDOS HELP SYSTEM ════════════════════════════
New TopDOS CLEAR CLUSTER EDIT EGA HELP HISTORY MACROS
commands: MOVE SETATTR STUFFKEY TOPDOS TREE TREECOPY WHEREIS
Enhanced
DOS commands: CLS COPY DEL DIR
Special Help ALIAS AUTOEXEC CONFIG COMMANDS
topics: KEYS MAKEHELP THELPATH
To display help on these or any DOS command, simply type the help topic and
press the F1 key. To display a list of help topics, type: COMMANDS F1
If you wish to print help for any help topic, simply type the help topic
followed by '/? PRN' and press the Return key. For example, typing:
TOPDOS/? PRN Return
would print help for the TOPDOS command.
*HISTORY
PLEASE REGISTER TopDOS!
Command Line HISTORY
Purpose: Display current list of command lines from the history buffer.
TopDOS maintains a list of the most currently issued commands. This
command causes your command history to be displayed on your screen
for review or to be redirected to a disk file.
Format: HISTORY
Options: (none)
Example: HISTORY record.cmd
Meaning: Save history to a file
Version: TopDOS
-------------------------------------------------------------------------------
*IF
PLEASE REGISTER TopDOS!
IF Conditional Switch
Purpose: Allows conditional execution of DOS commands from within BATch files
and Aliases.
Format: IF [NOT] condition command
Options: Conditions can be one of the following:
ERRORLEVEL number
string1 == string2
EXIST [d:][path]filename[.ext]
NOT -- Causes command to be executed if condition is FALSE
Example: IF NOT EXIST %1 GOTO quit
Meaning: If the specified file does not exist then continue execution of the
batch file at :quit.
Note: See GOTO command
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*JOIN
PLEASE REGISTER TopDOS!
JOIN Drives
Purpose: Makes a drive appear to be a directory on another drive. This allows
two drives to act as one larger drive for many purposes. The drive
directory are said to be logically connected. Files on the second
drive may be accessed through the "join" directory on the first
drive.
Format: JOIN -or-
JOIN d: d:\directory -or-
JOIN d: /D
Options:
\directory -- Directory just below "root" that the drive will be joined to
/D -- Disconnect a join. Drive must be specified to disconnect
Example: JOIN a: c:\adrive
Meaning: Join drive A: to subdirectory ADRIVE on drive C:
Version: DOS 3.2 and higher
-------------------------------------------------------------------------------
*KEYB
PLEASE REGISTER TopDOS!
KEYB Keyboard Handler
Purpose: Replaces the ROM BIOS keyboard handler program in order to support
non-U.S. keyboards.
Format: KEYB [xx[,[yyy],[[d:][path]filename[.ext]]]]
Options:
xx -- Specify the keyboard code
yyy -- Specify the numeric code page defining the character set
Example: KEYB UK
Meaning: Load keyboard program to support United Kingdom keyboards.
Version: DOS 3.0 and higher
-------------------------------------------------------------------------------
*LABEL
PLEASE REGISTER TopDOS!
LABEL Disk Volume Label
Purpose: Labels a disk with a volume name. Create, change or delete a volume
label.
Format: LABEL [d:][label]
Options:
label -- Specify volume label to enter (1 to 11 characters)
Example: LABEL a:backupdisk
Meaning: Put the label "backupdisk" on the disk in drive A:
Version: DOS 3.0 and higher
-------------------------------------------------------------------------------
*MACROS
PLEASE REGISTER TopDOS!
MACROS Display
Purpose: Display list of TopDOS macros and aliases. This command causes the
currently defined macros and aliases to be displayed on your screen
for review or to be redirected to a disk file.
Format: MACROS
Options: (none)
Example: MACROS topdos.key
Meaning: Save macros/aliases to the file TOPDOS.KEY
Version: TopDOS
-------------------------------------------------------------------------------
*MAKEHELP
AVAILABLE IN REGISTERED VERSION OF TopDOS ONLY
MAKEHELP
Purpose: Required for custom modification of the TopDOS Help System. This
command creates a new help index (TOPDOS.IDX) file. This command
must be run if you modify the TOPDOS.HLP file in any way.
Format: MAKEHELP
Options: (none)
Notes: The MAKEHELP program file and the TOPDOS.HLP file must be located
in the same directory.
Example: MAKEHELP
Meaning: Examine the TOPDOS.HLP in the current directory and create
TOPDOS.IDX and COMMANDS.HLP
Version: TopDOS
-------------------------------------------------------------------------------
*MD
PLEASE REGISTER TopDOS!
MD Make Directory
Same command as MKDIR
Purpose: Creates a subdirectory at the specified path or on the default drive
and path. Use this command to create the directory hierarchy on
your fixed disk.
Format: MD [d:]path
Options: (none)
Example: MD \topdos
Meaning: Makes a subdirectory named \TOPDOS on the default drive
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*MKDIR
PLEASE REGISTER TopDOS!
MKDIR Make Directory
Same command as MD
Purpose: Creates a subdirectory at the specified path or on the default drive
and path. Use this command to create the directory hierarchy on
your fixed disk.
Format: MKDIR [d:]path
Options: (none)
Example: MKDIR \topdos
Meaning: Makes a subdirectory named \TOPDOS on the default drive
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*MODE
PLEASE REGISTER TopDOS!
MODE
Purpose: This is a device level command which sets operating parameters.
Allows you to set the way that a printer, CGA adapter, or
communications adapter operates. Allows set up and selection of
code pages.
Format #1: MODE LPT#[:][n][,m][,P]]
Options #1:
# -- Number of the printer (1, 2 or 3)
n -- Number of characters per line (80 or 132)
m -- Number of lines per inch (6 or 8)
P -- Specify continuous retry on time-out errors
Format #2: MODE n -or-
MODE [n],m[,T]
Options #2:
n -- 40, 80, BW40, BW80, CO40, CO80, or MONO
m -- Shift the display left or right (L or R)
T -- Request a test pattern used to align the display
Format #3: MODE COM#[:]baud[,[parity][,[databits][,[stopbits][,P]]]]
Options #3:
# -- Number of communications adapter (1, 2, 3 or 4)
baud -- Baud Rate (110, 150, 300, 600, 1200, 2400, 4800, 9600, or 19200)
parity -- None, Odd, Even (N, O, or E). Default is Even
databits -- Number of data bits (7 or 8). Default is 7
stopbits -- Number of stop bits (1 or 2).
P -- Specify continuous retry on time-out errors
Format #4: MODE LPT#[:]=COMn
Options #4:
# -- Number of the printer (1, 2 or 3)
n -- Number of communications adapter (1, 2, 3 or 4)
Format #5: MODE device CODEPAGE|CP PREPARE|PREP=
((cp) [d:][path]filename[.ext]) -or-
MODE device CODEPAGE|CP PREPARE|PREP=
((cplist) [d:][path]filename[.ext])
Format #6: MODE device CODEPAGE|CP SELECT=cp|SEL=cp
Format #7: MODE device CODEPAGE|CP [/STATUS | /STA]
Format #8: MODE device CODEPAGE|CP REFRESH|REF
Options #5, #6, #7 and #8:
device -- Specify device (CON, PRN, LPT1, LPT2 or LPT3)
cp -- Specify one code page number (437, 850, 860, 863 or 865)
cplist -- Specify a list of code pages (437, 850, 860, 863 or 865)
/STATUS -- Display active code page and a list of selectable code pages
Example: MODE com1:1200,n,8,1
Meaning: Set communications port 1 to operate at 1200 baud, no parity, 8 data-
bits and 1 stop-bit.
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*MORE
PLEASE REGISTER TopDOS!
MORE Screen Pause
Purpose: A DOS filter which copies data from the standard input device to the
standard output device one screenful at a time, pausing with each
screen.
Format: MORE
Options: (none)
Example: DIR | MORE
Meaning: Sends the directory listing to the screen via the MORE filter.
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*MOVE
PLEASE REGISTER TopDOS!
MOVE Files
Purpose: Moves specified file(s) to given destination. Files may be moved
with or without a name change. Use this command to move a file to
a new location and delete the original copy of the file.
Format: MOVE [options] [d:][path][filename][.ext] [d:][path][filename][.ext]
Options:/A -- Files created after given time,date
/B -- Files created before given time,date
/F -- Only files which need to be backed up
/H -- Hidden and System files included
/P -- Pause when disk full
/R -- Replace duplicates on Query basis
/U -- Update duplicates (Source must be newer than Target)
/Q -- Query on a file by file basis
/D -- Sort query list in descending order
/E -- Sort query list by extension
/S -- Sort query list by size
/T -- Sort query list by time
/V -- Sort query list by natural (DOS) order
Example: MOVE /a -1 *.* A:
Meaning: Moves file(s) created since yesterday to drive A
Version: TopDOS
*PATH
PLEASE REGISTER TopDOS!
PATH for Program Files
Purpose: Specify directories to be searched for executable files (programs,
commands or batch files) not found in the current directory.
Only searches for files with extensions .COM, .EXE and .BAT.
Format: PATH [[d:]path[[;[d:]path]]] -or-
PATH ;
Options:
; -- Reset path list to null or empty
Example: PATH c:\topdos;c:\dos
Meaning: Search the C:\TOPDOS and C:\DOS subdirectories for programs,
commands, or batch files not found in the current directory
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*PAUSE
PLEASE REGISTER TopDOS!
PAUSE in Batch Files
Purpose: Suspends BATch file processing and displays optional Message
followed by "Strike a key when ready...", until a key is pressed.
Format: PAUSE [Message]
Options: (none)
Example: PAUSE
Meaning: Suspend the system until any key or Ctrl-Break is pressed
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*PRINT
PLEASE REGISTER TopDOS!
PRINT
Purpose: This command starts a multi-tasking printing queue (list). Data
files are printed in the background while your other tasks remain
active in the foreground.
Format: PRINT [/D:device][/B:buffsiz][/U:busytick]
[/M:maxtick][/S:timeslice][/Q:quesiz][/C][/T][/P][[d:][path]
[filename][.ext]...]
Options:
/D -- Specify the print device. Default device is PRN
/B -- Set the size in bytes of the internal print buffer
/U -- Specify the number of clock ticks that PRINT waits to print
/M -- Specify how many clocks ticks PRINT can have to print characters
/S -- Specify the time slice value. (1 through 255) Default is 8.
/Q -- Specify how many print files you can have in the queue (1 to 32)
/C -- Set the cancel mode. Allows you to select while file(s) to cancel
/T -- Set the terminate mode. All queued files are cancelled
/P -- Set the print mode. Preceding file(s) are added to print queue
Example: PRINT notes1.txt notes2.txt summary.txt
Meaning: Print the three files specified to the PRN device on a queued basis
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*PROMPT
PLEASE REGISTER TopDOS!
PROMPT Dos Prompt Specifier
Purpose: Change the format of the DOS prompt. The prompt may contain text and
meta-strings of the following kinds. The meta-strings allow insertion
of system data into the prompt.
Format: PROMPT [prompt-text]
Options:
$$ -- Display the '$' character
$t -- Display the current system time
$d -- Display the current system date
$p -- Display the current directory of the default drive
$v -- Display the current DOS version number
$n -- Display the default drive letter
$g -- Display the '' character
$l -- Display the '' character
$b -- Display the '|' character
$q -- Display the '=' character
$h -- Display a backspace; erasing the previous character
$e -- Display the ESC character
$_ -- Display the CR/LF character sequence (go to start of next line)
Example: PROMPT $p$g
Meaning: If the default drive is C: and the current directory is \TOPDOS,
then the example would change the DOS prompt to 'C:\TOPDOS'
Version: ALL
-------------------------------------------------------------------------------
*RD
PLEASE REGISTER TopDOS!
RD Remove Directory
same as RMDIR
Purpose: Removes a subdirectory at the specified path or on the default drive
and path. Use this command to maintain the directory hierarchy on
your fixed disk. Works only from the root directory.
Format: RD [d:]path
Options: (none)
Example: RD c:\backup
Meaning: Remove the BACKUP directory from drive C:
Version: ALL
-------------------------------------------------------------------------------
*RECOVER
PLEASE REGISTER TopDOS!
RECOVER Files
Purpose: This command is used to recover files from disks that have developed
problems which render a portion of the disk unreadable. All data
from the file can be retrieved except that contained in the bad
sector. In cases where the disk directory itself has been damaged,
all of the files can be recovered from the disk. See your DOS manual
for more information on how files are stored on the disk.
Format: RECOVER [d:][path]filename[.ext] -or-
RECOVER d:
Options: (none)
Example: RECOVER a:oldfile.dat
Meaning: Recover the file OLDFILE.DAT from drive A: sector-by-sector
Version: DOS 3.0 and higher
-------------------------------------------------------------------------------
*REM
PLEASE REGISTER TopDOS!
REM Remark
Purpose: Displays Message from within a batch file unless ECHO is OFF.
Format: REM [Message]
Options: (none)
Example: REM This is the main menu .BAT file
Meaning: Displays a message describing a batch file
Version: ALL
-------------------------------------------------------------------------------
*REN
PLEASE REGISTER TopDOS!
REN Rename File
Same as RENAME
Purpose: Change the name of the file(s) specified to the given filename(s).
The renamed file(s) remains in the same directory.
Format: REN [d:][path]filename[.ext] filename[.ext]
Options: (none)
Example: REN a:*.bak *.old
Meaning: Rename all the files on drive A: with the extension .BAK to .OLD
Version: ALL
-------------------------------------------------------------------------------
*RENAME
PLEASE REGISTER TopDOS!
RENAME File
same as REN
Purpose: Change the name of the file(s) specified to the given filename(s).
The renamed file(s) remains in the same directory.
Format: RENAME [d:][path]filename[.ext] filename[.ext]
Options: (none)
Example: RENAME a:*.bak *.old
Meaning: Rename all the files on drive A: with the extension .BAK to .OLD
Version: ALL
-------------------------------------------------------------------------------
*REPLACE
PLEASE REGISTER TopDOS!
REPLACE File
Purpose: Replace file(s) on the specified destination disk on a selective
basis. Selectively add file(s) to target from source.
Format: REPLACE [d:][path]filename[.ext] [d:][path] [/A][/P][/R][/S][/W]
Options:
/A -- Copy all files specified by the source that don't exist on target
/P -- Replace files on a prompted or query basis
/R -- Replace files that are read-only on target disk
/S -- Search all directories of target disk for matching files
/W -- Wait for a keypress before searching source disk for files
Example: REPLACE a:\menu.bat c:\ /s
Meaning: Replace all occurrences of MENU.BAT on drive C: with file on drive A:
Version: DOS 3.3 and higher.
-------------------------------------------------------------------------------
*RESTORE
PLEASE REGISTER TopDOS!
RESTORE Backup
Purpose: Restores files saved using the DOS BACKUP command from one disk to
another.
Format: RESTORE d: [d:][path]filename[.ext]
[/S][/P][/B:mm-dd-yy][/A:mm-dd-yy][/M][/N][/L:time][/E:time]
Options:
/S -- Restore all files in subdirectories in addition to current dir
/P -- Restore files on a prompted or query basis
/B -- Restore files modified on or before a given date
/A -- Restore files modified on or after a given date
/M -- Restore files modified or deleted since they were backed up
/N -- Restore files that no longer exist on target disk
/E -- Restore files modified on or before a given time
/L -- Restore files modified on or after a given time
Example: RESTORE a:/p
Meaning: Restore all the files on drive A: to the current drive one-at-a-time
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*RMDIR
PLEASE REGISTER TopDOS!
RMDIR Remove Directory
same as RD
Purpose: Removes a subdirectory at the specified path or on the default drive
and path. Use this command to maintain the directory hierarchy on
your fixed disk. Works only from the root directory.
Format: RMDIR [d:]path
Options: (none)
Example: RMDIR c:\backup
Meaning: Remove the BACKUP directory from drive C:
Version: ALL
-------------------------------------------------------------------------------
*SELECT
PLEASE REGISTER TopDOS!
SELECT System Files
Purpose: Formats the specified disk, copies DOS files and creates AUTOEXEC.BAT
and CONFIG.SYS files. See your DOS manual for details.
Format: SELECT [[A: | B:][d:][path]] xxx yy
Options:
xxx -- Specify the country code
yy -- Specify the keyboard code
Example: SELECT A:
Meaning: Installs DOS on HIGH-CAPACITY disk in drive A:.
Version: DOS 3.3 and higher.
-------------------------------------------------------------------------------
*SET
PLEASE REGISTER TopDOS!
SET Environment
Purpose: Adds strings or variables to the command processor's environment.
These strings are available to all commands and programs.
Format: SET [name=[parameter]]
Options: none -- Displays all of the current variables and their values
Example: SET thelpath=c:\topdos
Meaning: Creates a environment variable named "THELPATH" equal to "C:\TOPDOS"
Version: ALL
-------------------------------------------------------------------------------
*SETATTR
PLEASE REGISTER TopDOS!
SETATTR Set Attributes
Purpose: An external TopDOS command to change the DOS attributes of
specified file(s) and/or directory(ies)
Format: SETATTR [options] [d:][path]filename[.ext]
Options:
. -- general
H -- hidden
A -- archive
R -- read only
S -- system
/O -- Only subdirectories
/S -- Subdirectories also
Example: SETATTR hr payrec.dat
Meaning: Set the attributes of the file PAYREC.DAT to Hidden, Read-only
Version: TopDOS
-------------------------------------------------------------------------------
*SHARE
PLEASE REGISTER TopDOS!
SHARE
Purpose: Enables support for file sharing and locking.
Format: SHARE [/F:filespace][/L:locks]
Options:
/F -- Allocate file space in bytes for recording file sharing data
/L -- Allocates space for the number of available locks
Example: SHARE
Meaning: Loads file sharing support with filespace=2048 and locks=20
Version: DOS 3.0 and higher
-------------------------------------------------------------------------------
*SHIFT
PLEASE REGISTER TopDOS!
SHIFT Parameter
Purpose: Allows BATch files and Aliases to utilize more than 10
(%0 through %9) replaceable parameters. Shifts all values
to the next lower parameter.
Format: SHIFT
Options: (none)
Example: SHIFT
Meaning: Causes %0 to now equal %1, %1 to now equal %2, etc.
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*SORT
PLEASE REGISTER TopDOS!
SORT
Purpose: A DOS filter which reads data from the standard input device and
sorts it before writing it to the standard output device.
Format: SORT [/R][/+n]
Options:
/R -- Sort in reverse order
/+n -- Start sorting with column 'n'. Default is column 1
Example: dir | SORT /+14
Meaning: Sort a directory listing by column 14 (size) and display on screen
Version: DOS 2.0 and higher
-------------------------------------------------------------------------------
*STUFFKEY
PLEASE REGISTER TopDOS!
STUFFKEY
Purpose: To "stuff" or load the keyboard buffer with a series of keystrokes
before loading and executing a program. The "stuffed" keys are
available to the program as if they had been typed in at the
keyboard. When used in Aliases or BATch files, this command is
a very powerful means of automating the start-up and use of other
programs and applications. This command allows you to feed a
series of keystrokes into a program that otherwise accepts input
directly from the keyboard only.
Format: STUFFKEY [d:][path]filename[.ext] keys -or-
STUFFKEY keys
Options:
keys -- Any valid macro command or keystrokes
Example: STUFFKEY 123.exe{ret}{ret}/frSTART.WK1{ret}
Meaning: Automatically have Lotus 1-2-3 load START.WK1 when 1-2-3 is started.
Version: TopDOS
-------------------------------------------------------------------------------
*SUBST
PLEASE REGISTER TopDOS!
SUBST Substitute Drive
Purpose: Causes a drive specifier to refer to another drive or path.
Format: SUBST d: d:path -or-
SUBST d: /D -or-
SUBST
Options:
none -- Display all current substitutions
/D -- Delete a substitution
Example: SUBST e: c:\dos\utils
Meaning: Cause any reference to drive E: to be substituted with C:\DOS\UTILS
Version: DOS 3.0 and higher
-------------------------------------------------------------------------------
*SYS
PLEASE REGISTER TopDOS!
SYS System files copier
Purpose: Copies the operating system files to the specified drive. The
destination drive must have been formatted with the /S or /B options.
Format: SYS d:
Options: (none)
Example: SYS a:
Meaning: Transfer IBMBIO.COM and IBMDOS.COM to drive A:
Version: ALL
-------------------------------------------------------------------------------
*THELPATH
PLEASE REGISTER TopDOS!
THELPATH Topdos Help Path
Purpose: The THELPATH environment variable is used to specify the location
of TOPDOS.HLP file and any custom .HLP files you may have created.
If you do NOT specify THELPATH, then TopDOS will issue a warning
and default to searching the current DOS PATH. For best results,
set THELPATH to the directory where TOPDOS.HLP is stored.
Format: set THELPATH=[d:][path];...
Version: TopDOS
-------------------------------------------------------------------------------
*TIME
PLEASE REGISTER TopDOS!
TIME Set
Purpose: Change the system time.
Format: TIME [hh:mm[:ss[.xx]]]
Options:
hh -- Specify the hours (0 through 23)
mm -- Specify the minutes (0 through 59)
ss -- Specify the seconds (0 through 59)
xx -- Specify the hundredths of a second (0 through 99)
Example: TIME
Meaning: Enter or change the time as prompted
Version: ALL
-------------------------------------------------------------------------------
*TOPDOS
PLEASE REGISTER TopDOS!
TOPDOS Install
Purpose: Install/Disable/Re-enable/De-install TopDOS, load macro and alias
definition file, reserve up to 9K of Alias space, display TopDOS
logo and version #. This command is useful in controlling TopDOS
from BATch files or within Aliases. All of the options except for
reserving alias are also available from the command line as
special key. For example, to use an application program that
requires all available memory, create a BATch file that includes
the TOPDOS OUT to free the memory being used by TopDOS. The
BATch file should then include the command to start the application
program and should end with the TOPDOS command to restart TopDOS.
Format: TOPDOS [options] [d:][path][filename][.ext]
Options:
/a -- Specify amount of Alias space to reserve (default of 1K)
ON -- Re-enable TopDOS (if loaded and disabled)
OFF -- Disable/Turn-off TopDOS (if loaded and enabled)
OUT -- Remove TopDOS completely from memory (if loaded)
Example: TOPDOS c:\topdos\macrokey.top
Meaning: Install TopDOS (if not already installed) and load macro file into
memory.
Version: TopDOS
-------------------------------------------------------------------------------
*TREE
PLEASE REGISTER TopDOS!
TREE Directory
Purpose: Display directories and specified files in a visual tree-structure.
Directories and files are displayed as requested by the user and
DOS level commands and programs are available for execution.
Format: TREE [options] [d:][path][filename][.ext]
Options:
/A -- Files created after given time,date
/B -- Files created before given time,date
/F -- Only files which need to be backed up
/M -- Mark copied files as backed up (COPY options)
/H -- Hidden and System files included
/P -- Pause when disk full (COPY/MOVE options)
/R -- Replace duplicates on a Query basis (COPY/MOVE options)
/U -- Update duplicates (COPY/MOVE options)
/Q -- Query on a file by file basis (COPY/MOVE/DEL options)
/D -- Sort list in descending order
/E -- Sort list by extension
/S -- Sort list by size
/T -- Sort list by time of creation
/V -- Sort list by natural (DOS) order
/W -- Start with current working DOS directory
Example: TREE /w/e
Meaning: Move to current DOS directory in the tree and display files sorted
by extension.
Version: TopDOS
-------------------------------------------------------------------------------
*TREECOPY
AVAILABLE IN REGISTER VERSION ONLY
TREECOPY
Purpose: Copy the files of an entire branch of the tree structure.
Format: TREECOPY [options] [d:][filename][.ext] [d:]path OR filespec
Options:
/A -- Files created after given time,date
/B -- Files created before given time,date
/C -- Create same subdirectory structure on destination volume
/D -- Sort in descending order
/E -- Sort by extension
/K -- User selects directory with keyboard
/F -- Only files which need to be backed up
/M -- Mark source files as backed up
/P -- Pause on full disk
/S -- Sort by size
/T -- Sort by time of creation
Example: TREECOPY /a -7 /p/c c:*.asm a:\
Meaning: copy all .ASM files from the current directory of C:
(and all of its subdirectories) which have been modified
within the last seven days to the root directory of A:,
creating the same directory structure on A:, and
pausing to allow the user to insert a new floppy when
the diskette is full.
Version: TopDOS
-------------------------------------------------------------------------------
*TYPE
PLEASE REGISTER TopDOS!
TYPE
Purpose: Transfers the contents of a file to the standard output device.
Format: TYPE [d:][path]filename[.ext]
Options: (none)
Example: TYPE autoexec.bat
Meaning: Display the contents of AUTOEXEC.BAT on the screen
Version: ALL
-------------------------------------------------------------------------------
*VER
PLEASE REGISTER TopDOS!
VER Dos Version
Purpose: Display the current DOS version number.
Format: VER
Options: (none)
Example: VER
Meaning: Displays the current DOS version number on the screen
Version: ALL
-------------------------------------------------------------------------------
*VOL
PLEASE REGISTER TopDOS!
VOL Volume Label
Purpose: Display the volume label of the specified or default drive.
Format: VOL [d:]
Options: (none)
Example: VOL
Meaning: Display the disk volume label for the default drive on the screen
Version: ALL
-------------------------------------------------------------------------------
*XCOPY
PLEASE REGISTER TopDOS!
XCOPY
Purpose: Copy groups of files to a specified destination. Optionally, include
files from lower level subdirectories.
Format: XCOPY [d:][path]filename[.ext] [d:][path][filename[.ext]]
[/A][/D][/E][/M][/P][/S][/V][/W] -or-
XCOPY [d:]path[filename[.ext]] [d:][path][filename[.ext]]
[/A][/D][/E][/M][/P][/S][/V][/W] -or-
XCOPY d:[path][filename[.ext]] [d:][path][filename[.ext]]
[/A][/D][/E][/M][/P][/S][/V][/W]
Options:
/A -- Copy only those files which have the archive bit set
/D -- Copies files modified on or after a given date
/E -- Create subdirectories on the target even if they are empty
/M -- Copy as with /A but then turn off the archive bit
/P -- Copy files on a prompted or query basis
/S -- Copy files in the source directory and all subdirectories below
/V -- Cause DOS to verify that files are recorded correctly
/W -- Wait for any keypress before searching for source files
Example: XCOPY c:\topdos a: /s
Meaning: Copy all files in the TOPDOS directory and below to drive A:
Version: DOS 3.3 and higher.
-------------------------------------------------------------------------------
*WHEREIS
AVAILABLE IN THE REGISTERED VERSION ONLY
WHEREIS File
Purpose: Find specified files anywhere on disk. This is an extremely useful
command. Only partial filenames need be specified, but they must be
completed using standard global characters. Searching is very rapid,
so this command can be used whenever you need to locate a file on
a disk.
Format: WHEREIS [options] [d:][filename][.ext]
Options:
/A -- Files created after given time,date
/B -- Files created before given time,date
/F -- Files only, no subdirectories
/O -- Only subdirectories
/M -- Only files marked as backed up
/U -- Only files not marked as backed up
/S -- Subtotals by subdirectory
Example: WHEREIS /a -7 c:*.wks
Meaning: List all 1-2-3 files on drive C: created in the last week to a file
Version: TopDOS
-------------------------------------------------------------------------------